package com.heima.estatemanagement.mapper;

import com.github.pagehelper.Page;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.heima.estatemanagement.domain.TbParkingUse;

import java.util.List;
import java.util.Map;

/**
 * @author 86191
 * @description 针对表【tb_parking_use(车位使用表)】的数据库操作Mapper
 * @createDate 2023-02-03 14:24:26
 * @Entity com.heima.estatemanagement.domain.TbParkingUse
 */
public interface TbParkingUseMapper extends BaseMapper<TbParkingUse> {
    public Page<TbParkingUse> search(Map searchMap);

    int parkingCount(Map map);   //分页计算总数

    public List<TbParkingUse> selectAll();
//    public boolean delById(int id);
//    public String delFindByStatus(int id);

    public int add(TbParkingUse parkingUse);

    public TbParkingUse findById(Integer id);

    public int update(TbParkingUse parkingUse);
}




